
CG_OFFLINE_PK_QUERY = {  --界面数据查询

}
PK_PLAYER = {
  {"uuid",   1,    "string"},
  {"name",   1,    "string"},
  {"zhandouli", 1,  "int"},
  {"viewInfo",  1,  require("scene.Proto").ViewInfo},
  {"rank",      1,  "int"},
}
GC_OFFLINE_PK_QUERY = {       --界面数据返回
  {"myRank",    1,   "int"},     -- 我的排名
  {"myZhandouli", 1, "int"},     -- 我的战斗力
  {"curCnt",    1,   "bit", 8},  -- 当前
  {"maxCnt",    1,   "bit", 8},  -- 最大
  {"leftTime",  1,   "int"},     -- 冷确时间(秒)
  {"canGetReward", 1,"bit", 1},  -- 1为可领取，0为不可领取 
  {"rewardTips",  1, "string"},  -- 奖励描述
  {"historyRank", 1, "int"},     -- 历史最高排名
}
GC_OFFLINE_PK_PLAYER = {
  {"players",   5,   PK_PLAYER}, -- PK列表
}

CG_OFFLINE_PK_PLAYER = {   --刷新player列表

}

CG_OFFLINE_PK_START = {   --开始调战
  {"uuid",      1,  "string"},  -- 挑战目标uuid
}

CG_OFFLINE_PK_GET_REWARD = {  -- 领取每日奖励

}

CG_OFFLINE_PK_ADD_CNT = {   -- 增加挑战次数

}

PK_RANK = {
  {"uuid",   1,    "string"},
  {"name",   1,    "string"},
  {"zhandouli", 1, "int"},
  {"lv",     1,    "int"}
}
CG_OFFLINE_PK_RANK_QUERY = {  --排行榜查询
}
GC_OFFLINE_PK_RANK_QUERY = {
  {"list",   100,   PK_RANK},
  {"myRank",  1,   "int"},
}

CG_OFFLINE_PK_REWARD_QUERY = { --奖励查询
}
PK_REWARD = {
  {"minRank",   1,  "int"},
  {"maxRank",   1,  "int"},
  {"reward",    5,  require("bag.Proto").ItemData},
}
GC_OFFLINE_PK_REWARD_QUERY = {
  {"list", 50,  PK_REWARD},
}

PK_LOG = {
  {"name",  1,     "string"},
  {"win",   1,     "bit",  1},
  {"result",    1, "bit",  2}, -- 0 下降，1，保持不变， 2，上升
  {"active",    1, "bit",  1}, -- 1主动， 0被动
  {"rank",  1,     "int"},
  {"time",  1,     "int"}
}
CG_OFFLINE_PK_LOG = {  --
}
GC_OFFLINE_PK_LOG = {
  {"list",   10,   PK_LOG},
}

CG_OFFLINE_PK_COOLDOWN = { --清冷确
}


GC_OFFLINE_PK_RESULT = {
  {"win",       1,   "bit",  1},
  {"result",    1,   "bit",  2}, -- 0 下降，1，保持不变， 2，上升
  {"rank",      1,   "int"},
  {"reward",    4,   require("scene.Proto").ST_REVIVE_ITEM},
  {"bindYuanbao",   1,   "int"}, --元宝
}


